<?php

class Damages_Methods_Data_List_Filter {

  /**
   *
   * @var int 
   */
  public $id;

  /**
   *
   * @var string 
   */
  public $name;

  /**
   *
   * @var string 
   */
  public $code;

  /**
   *
   * @var string 
   */
  public $type;

  public function __construct(DamagesListFilters $filter) {
    $this->id = $filter->getId();
    $this->name = $filter->getName();
    $this->code = $filter->getCode();
    $this->type = $filter->getType();
  }

}